package com.qf.agro.service.facilities;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.qf.agro.pojo.facilities.FacilitiesConfig;

public interface FacilitiesConfigService {

    /**
     * 分页查询
     * @param pageNum
     * @param pageSize
     * @param name
     * @return
     */
    Page<FacilitiesConfig> findPage(Integer pageNum, Integer pageSize, String name,String facilitiesId);


    /**
     * 新增分类
     * @param facilitiesConfig
     */
    void save(FacilitiesConfig facilitiesConfig);


    void update(FacilitiesConfig facilitiesConfig);


    /**
     * 删除分类
     * @param id
     */
    void delete(Long id);

    FacilitiesConfig getFacilitiesId(Long facilitiesId);
}
